<%@ page import="entity.Operator" %>
<%--
  Created by IntelliJ IDEA.
  User: zhouya
  Date: 2019/6/25/0025
  Time: 13:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style>
        input{width: 200px;height: 20px}
        a {color: #01040c; text-decoration:none;}
        a:visited {text-decoration:none;}
        a:hover {color:#ba2636;text-decoration:underline;}
        a:active {color:#ba2636;}
    </style>
    <%Operator operator=(Operator) request.getAttribute("operator");%>
</head>
<body>
<form action="AdminOperatorsUpdateServlet" method="post">
    id： <input type="text" name="operatorID" value="<%=operator.getOperatorID()%>" readonly="readonly"><br>
    姓名：<input type="text" name="name" value="<%=operator.getName()%>" ><br>
    账户：<input type="text" name="account" value="<%=operator.getAccount()%>" readonly="readonly"><br>
    密码：<input type="text" name="password" value="<%=operator.getPassword()%>" readonly="readonly"><br>
    角色：<input type="text" name="character" value="<%=operator.getCharacter()%>" readonly="readonly"><br>
    邮箱：<input type="text" name="email" value="<%=operator.getEmail()%>"><br>
    性别：<input type="text" name="sex" value="<%=operator.getSex()%>"><br>
    照片：<input type="text" name="photo" value="<%=operator.getPhoto()%>" readonly="readonly"><br>

    <input type="submit" value="提交">
    <!--<a href="AdminOperatorsUpdateServlet?operatorID=<%=operator.getOperatorID()%>">提交</a> -->
    <a href="AdminOperatorsServlet">取消</a>
</form>
</body>
</html>
